home *** CD-ROM | disk | FTP | other *** search
- /* APCNames.h */
-
- #ifndef _APCNAMES_H
- #define _APCNAMES_H
-
- #ifdef AMIGA
- #include <exec/types.h>
- #else
- #ifndef FALSE
- #define FALSE 0
- #define TRUE 1
- #endif
- #ifndef NULL
- #define NULL 0L
- #endif
- typedef int BOOL;
- typedef unsigned long ULONG;
- typedef long LONG;
- typedef unsigned char UBYTE;
- #endif
-
- /*-------------------------------------------------------------------
- ** The Macintosh Finder uses 4-byte IDs for the identification of
- ** the file type and of the application which created the document.
- ** Some frequently used IDs are specified here.
- **-------------------------------------------------------------------
- */
-
- #define MAKE_ID(C1,C2,C3,C4) ((C1<<24)|(C2<<16)|(C3<<8)|C4)
-
- #define TYPE_TEXT MAKE_ID('T','E','X','T') /*(styled) text*/
- #define TYPE_WDBN MAKE_ID('W','D','B','N') /*MS Word document*/
- #define TYPE_PNTG MAKE_ID('P','N','T','G') /*painting*/
-
- #define CREATOR_UNKNOWN MAKE_ID('?','?','?','?')
- #define CREATOR_TTXT MAKE_ID('t','t','x','t') /*TeachText*/
- #define CREATOR_MPNT MAKE_ID('M','P','N','T') /*MacPaint*/
- #define CREATOR_WORD MAKE_ID('M','S','W','D') /*MS Word*/
- #define CREATOR_BBEDIT MAKE_ID('R','*','c','h') /*BBEdit*/
- #define CREATOR_THINK_P MAKE_ID('P','J','M','M') /*THINK Pascal*/
- #define CREATOR_THINK_C MAKE_ID('K','A','H','L') /*THINK C, Symantec C++*/
-
-
- #endif /*_APCNAMES_H*/
-